<template>
  <div>
    <div style="margin: 16px;">
      <van-button round block type="info" @click="submit">
        {{ btnText }}
      </van-button>
    </div>
  </div>
</template>

<script>
export default {
  props: ['btnText'],
  methods: {
    submit() {
      this.$emit('clicked')
    }
  }
}
</script>

<style lang="less" scoped>
.van-button {
  background-color: #cc3300;
  border: none;
}
</style>
